package com.shinewind.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "用于返回用户订单地址")
public class UserAddressVo implements Serializable {
    @ApiModelProperty(value = "地址id")
    private String addressId;
    @ApiModelProperty(value = "用户名")
    private String name;
    @ApiModelProperty(value = "用户电话")
    private String telePhone;
    @ApiModelProperty(value = "用户地址")
    private String address;
    @ApiModelProperty(value = "是否是默认地址",notes = "1表示为默认地址,0为非默认地址")
    private Long isDefault;
}
